package com.it.mapper;

import com.it.pojo.CPost;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CPostMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CPost record);

    int insertSelective(CPost record);

    CPost selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CPost record);

    int updateByPrimaryKey(CPost record);

    List<CPost> selectAllByUid(Integer uid);

}